import createAxios from '/@/utils/axios'


export const url = '/admin/language.Translate/'

export function clearLangCache() {
    return createAxios({
        url: url + 'clearLangCache',
        method: 'get',
        params: {},
    })
}

export function syncTranslate() {
    return createAxios({
        url: url + 'syncTranslate',
        method: 'get',
        params: {},
    })
}

export function publish() {
    return createAxios({
        url: url + 'publish',
        method: 'get',
        params: {},
    })
}
